# Bluefish HTML Editor
# Makefile.in - the Makefile template
# Copyright (C) 2002-2006 Olivier Sessink
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

top_srcdir = @top_srcdir@
top_builddir = @top_srcdir@
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
datadir = @datadir@
datarootdir = @datarootdir@
pkgdatadir = @pkgdatadir@

infodir = $(prefix)/info
libdir = $(prefix)/lib/gnudl
mandir = $(prefix)/man/man1
localedir = @localedir@
gnulocaledir = $(prefix)/share/locale
aliaspath = $(localedir):.

OBJS = 	icon_c.png \
			icon_cfml.png \
			icon_html.png \
			icon_java.png \
			icon_unknown.png \
			icon_dir.png \
			icon_image.png \
			icon_pascal.png \
			icon_php.png \
			icon_python.png \
			icon_r.png \
			icon_xml.png

INSTALL = @INSTALL@
INSTALL_DIR = $(INSTALL) -d -m 755 
INSTALL_DATA = $(INSTALL) -m 644

all: bluefish
bluefish:

install: all
	$(INSTALL_DIR) $(DESTDIR)$(pkgdatadir)
	for file in $(OBJS) ; \
		do $(INSTALL_DATA) $$file $(DESTDIR)$(pkgdatadir) ; \
	done

uninstall:
	/bin/rm -f $(DESTDIR)$(pkgdatadir)icon_*.png

